package com.aihwcm.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Aihtemplates entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "aihtemplates", catalog = "aihwcmdb")
public class Aihtemplates implements java.io.Serializable {

	// Fields

	private Integer templateid;
	private String templatename;
	private String templatecontent;

	// Constructors

	/** default constructor */
	public Aihtemplates() {
	}

	/** full constructor */
	public Aihtemplates(String templatename, String templatecontent) {
		this.templatename = templatename;
		this.templatecontent = templatecontent;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "templateid", unique = true, nullable = false)
	public Integer getTemplateid() {
		return this.templateid;
	}

	public void setTemplateid(Integer templateid) {
		this.templateid = templateid;
	}

	@Column(name = "templatename", length = 100)
	public String getTemplatename() {
		return this.templatename;
	}

	public void setTemplatename(String templatename) {
		this.templatename = templatename;
	}

	@Column(name = "templatecontent", length = 65535)
	public String getTemplatecontent() {
		return this.templatecontent;
	}

	public void setTemplatecontent(String templatecontent) {
		this.templatecontent = templatecontent;
	}

}